package com.whyl.eems.common.exception;

/**
 * 基础异常类
 */
public class BaseException extends RuntimeException {
    private static final long serialVersionUID = -3030344392591938285L;

    private ConstantExceptionEnums constantExceptionEnums;

    public BaseException(ConstantExceptionEnums constantExceptionEnums) {
        this.constantExceptionEnums = constantExceptionEnums;
    }

    public BaseException() {

    }

    public ConstantExceptionEnums getConstantExceptionEnums() {
        return constantExceptionEnums;
    }

    public void setConstantExceptionEnums(ConstantExceptionEnums constantExceptionEnums) {
        this.constantExceptionEnums = constantExceptionEnums;
    }
}
